//
//  MSTemplateCellDefine.h
//  MSJD
//
//  Created by xiangbo on 2018/9/22.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#ifndef MSTemplateCellDefine_h
#define MSTemplateCellDefine_h

static CGFloat titleHeadHeight = 79;

#define MSShowType

#define MSIdentifierDic @{@"ads" :          @"MSBannerView",\
                          @"popular" :      @"MSTypeAView",\
                          @"suggest" :      @"MSTypeAView",\
                          @"db_himg" :      @"MSTypeAView",\
                          @"db_vimg" :      @"MSTypeAView",\
                          @"taglist" :      @"MSTemplateTagsView",\
}

#define MSRedirectIdentifierDic @{@"popular" :        @"MSTypeACollectionCell",\
                                  @"suggest" :        @"MSTypeACollectionCell",\
                                  @"db_himg" :        @"MSTypeACollectionCell",\
                                  @"db_vimg" :        @"MSVimgCollectionCell",\
}

#define MSTableCellHeightDic @{ @"ads"      :   @((MS_SCREEN_WIDTH - 40) * 88.f / 335 + 26),\
@"popular"  :   @((MS_SCREEN_WIDTH - 40) * 190 / 335 + 197),\
@"suggest"  :   @(309),\
@"db_himg"  :   @(309),\
@"db_vimg"  :   @(289),\
@"taglist"  :   @(90),\
}

#define MSWidthDic @{@"popular" :       @((MS_SCREEN_WIDTH - 40)),\
@"suggest" :       @(162),\
@"db_himg" :       @(162),\
@"db_vimg" :       @(162),\
@"taglist" :       @(MS_SCREEN_WIDTH / 4),\
}

#define MSExceptDescArray @{@"db_vimg"}

#define MSRateDic @{@"popular" :        @(335 / 190),\
                    @"suggest" :        @(75 / 43.f),\
                    @"db_himg" :        @(1 / 1.1f),\
                    @"db_vimg" :        @(154 / 221.f),\
}

#endif /* MSTemplateCellDefine_h */
